



//
//  MemberDayCollectionCell.m
//  ZQLearn
//
//  Created by macfeel on 2019/5/7.
//  Copyright © 2019 macfeel. All rights reserved.
//

#import "MemberDayCollectionCell.h"

@implementation MemberDayCollectionCell

- (void)awakeFromNib {
    
    [super awakeFromNib];
    // Initialization code
//    UIView *line = [[UIView alloc]initWithFrame:CGRectMake(29, 105, 50, 0.5)];
//    line.backgroundColor = kLightGrayColor;
//    [self addSubview:line];
    
    
    
//    UILabel * strikeLabel = [[UILabel alloc] initWithFrame:(CGRectMake(10, 10, 50, 30))];
//    NSString *textStr = [NSString stringWithFormat:@"%@元", primeCost];
    
    //中划线
//    NSDictionary *attribtDic = @{NSStrikethroughStyleAttributeName: [NSNumber numberWithInteger:NSUnderlineStyleSingle]};
//    NSMutableAttributedString *attribtStr = [[NSMutableAttributedString alloc]initWithString:textStr attributes:attribtDic];
//    
//    // 赋值
//    self.bottomLab.attributedText = attribtStr;
    
//    [self.view addSubview:strikeLabel];
}

///重写系统的选中方法
- (void)setSelected:(BOOL)selected{
    [super setSelected:selected];
    if (selected) {
        self.backgroundColor = kBackgroundColor;
    }else{
        self.backgroundColor = kWhiteColor;
    }
}
@end
